package com.zyyx.box.domain;

import com.zyyx.classroom.domain.Classroom;
import com.zyyx.common.annotation.Excel;
import com.zyyx.common.core.domain.BaseEntity;

/**
 * 盒子设备管理对象 box
 * 
 * @author xw
 * @date 2025-01-08
 */
public class Box extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盒子id */
    private Long boxId;

    /** 序号 */
    @Excel(name = "序号")
    private String boxNumber;

    /** 盒子名 */
    @Excel(name = "盒子名")
    private String boxName;

    /** 设备号 */
    @Excel(name = "设备号")
    private String boxDevice;

    /** 教室id */
    @Excel(name = "教室id")
    private Long classroomId;
    private Classroom classroom;

    public Classroom getClassroom() {
        return classroom;
    }

    public void setClassroom(Classroom classroom) {
        this.classroom = classroom;
    }

    public void setBoxId(Long boxId) 
    {
        this.boxId = boxId;
    }

    public Long getBoxId() 
    {
        return boxId;
    }
    public void setBoxNumber(String boxNumber) 
    {
        this.boxNumber = boxNumber;
    }

    public String getBoxNumber() 
    {
        return boxNumber;
    }
    public void setBoxName(String boxName) 
    {
        this.boxName = boxName;
    }

    public String getBoxName() 
    {
        return boxName;
    }
    public void setBoxDevice(String boxDevice) 
    {
        this.boxDevice = boxDevice;
    }

    public String getBoxDevice() 
    {
        return boxDevice;
    }
    public void setClassroomId(Long classroomId) 
    {
        this.classroomId = classroomId;
    }

    public Long getClassroomId() 
    {
        return classroomId;
    }

    @Override
    public String toString() {
        return "Box{" +
                "boxId=" + boxId +
                ", boxNumber='" + boxNumber + '\'' +
                ", boxName='" + boxName + '\'' +
                ", boxDevice='" + boxDevice + '\'' +
                ", classroomId=" + classroomId +
                ", classroom=" + classroom +
                '}';
    }
}
